home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: danielkm@aol.com (Daniel K M)
- Newsgroups: comp.lang.c++
- Subject: Re: Stack vs. Heap
- Date: 4 Jan 1996 14:07:05 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4ch8gp$sp5@newsbf02.news.aol.com>
- References: <4cbhga$dra@news.xs4all.nl>
- Reply-To: danielkm@aol.com (Daniel K M)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- There's a lot of traffic in this thread discussing which memory model a
- programmer should be using. In regards to my original question, I have no
- choice about the structure of memory - I must use DOS, and I have a
- limited amount of memory (1 Meg) which can never be increased. But
- regardless of all this, if we simply assume that I want my program to be
- as efficient and robust as I can make it (and I realize these two are
- often trade-offs) then which memory allocation technique should I use?
- Static or Dynamic? You can also assume that when an object is dynamic by
- nature, I will use dynamic memory allocation.
-
- Or, to be brief: Stack vs. Heap?
-